Part Number Hot Search : 
102M16 H1100 300BZ TS3420 20150 20150 H1100 52MHZ
Product Description
Full Text Search
 

To Download AT90PWM316-16ME Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 Features
* High Performance, Low Power AVR (R) 8-bit Microcontroller * Advanced RISC Architecture
- 129 Powerful Instructions - Most Single Clock Cycle Execution - 32 x 8 General Purpose Working Registers - Fully Static Operation - Up to 1 MIPS throughput per MHz - On-chip 2-cycle Multiplier Data and Non-Volatile Program Memory - 16K Bytes Flash of In-System Programmable Program Memory * Endurance: 10,000 Write/Erase Cycles - Optional Boot Code Section with Independent Lock Bits In-System Programming by On-chip Boot Program True Read-While-Write Operation - 512 Bytes of In-System Programmable EEPROM Endurance: 100,000 Write/Erase Cycles - 1024 Bytes Internal SRAM - Programming Lock for Flash Program and EEPROM Data Security On Chip Debug Interface (debugWIRE) Peripheral Features - Two or three 12-bit High Speed PSC (Power Stage Controllers) with 4-bit Resolution Enhancement * Non Overlapping Inverted PWM Output Pins With Flexible Dead-Time * Variable PWM duty Cycle and Frequency * Synchronous Update of all PWM Registers * Auto Stop Function for Event Driven PFC Implementation * Less than 25 Hz Step Width at 150 kHz Output Frequency * PSC2 with four Output Pins and Output Matrix - One 8-bit General purpose Timer/Counter with Separate Prescaler and Capture Mode - One 16-bit General purpose Timer/Counter with Separate Prescaler, Compare Mode and Capture Mode - Programmable Serial USART * Standard UART mode * 16/17 bit Biphase Mode for DALI Communications - Master/Slave SPI Serial Interface - 10-bit ADC * Up To 11 Single Ended Channels and 2 Fully Differential ADC Channel Pairs * Programmable Gain (5x, 10x, 20x, 40x on Differential Channels) * Internal Reference Voltage - 10-bit DAC - Two or three Analog Comparator with Resistor-Array to Adjust Comparison Voltage - 4 External Interrupts - Programmable Watchdog Timer with Separate On-Chip Oscillator Special Microcontroller Features - Low Power Idle, Noise Reduction, and Power Down Modes - Power On Reset and Programmable Brown Out Detection - Flag Array in Bit-programmable I/O Space (4 bytes)
*
* * *
* *
8-bit Microcontroller with 16K Bytes In-System Programmable Flash AT90PWM216 AT90PWM316
Summary
*
7710CS-AVR-01/08
- In-System Programmable via SPI Port - Internal Calibrated RC Oscillator ( 8 MHz) - On-chip PLL for fast PWM ( 32 MHz, 64 MHz) and CPU (16 MHz) * Operating Voltage: 2.7V - 5.5V * Extended Operating Temperature: - -40 to +105 C
Product AT90PWM216 AT90PWM316
Package SO24 SO32, QFN32
12 bit PWM with deadtime 2x2 3x2
ADC Input 8 11
ADC Diff 1 2
Analog Compar 2 3
Application One fluorescent ballast HID ballast, fluorescent ballast, Motor control
1. History
Product AT90PWM216 AT90PWM316 Revision First revision of parts
2. Disclaimer
Typical values contained in this datasheet are based on simulations and characterization of other AVR microcontrollers manufactured on the same process technology. Min and Max values will be available after the device is characterized.
2
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
3. Pin Configurations
Figure 3-1. SOIC 24-pin Package
Figure 3-2.
SOIC 32-pin Package
3
7710CS-AVR-01/08
Figure 3-3.
QFN32 (7*7 mm) Package.
AT9 0PWM316
PB7 (ADC4/PSCOUT01/SCK) PB6 (ADC7/PSCOUT11/ICP1B) PB5 (ADC6/INT2) PC7 (D2A)
PD0(PSCOUT00/XCK/ SS_A)
32 31 30 29 28 27 26 25
PC0 (INT3/PSCOUT10)
PD1 (PSCIN0/CLKO)
PE0(RESET/OCD)
(PSCIN2/OC1A/MISO_A) PD2 (TXD/DALI/OC0A/SS/MOSI_A) PD3 (PSCIN1/OC1B) PC1 VCC GND (T0/PSCOUT22) PC2 (T1/PSCOUT23) PC3 (MISO/PSCOUT20) PB0
1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16
24 23 22 21 20 19 18 17
PB4 (AMP+) 0 PB3 (AMP-) 0 PC6 (ADC0/ACMP1) 1 AREF AGND AVCC PC5 (ADC/AMP1+) 9 PC4 (ADC/AMP1-) 8
3.1
Pin Descriptions
:
Table 3-1.
S024 Pin Number 7 18
Pin out description
SO32 Pin Number 9 24 QFN32 Pin Number 5 20 Mnemonic GND AGND Type Power Power Name, Function & Alternate Function Ground: 0V reference Analog Ground: 0V reference for analog part
4
AT90PWM216/316
7710CS-AVR-01/08
(MOSI/PSCOT21) PB1 U (OC0B/XTAL1) PE1 (ADC0/XTAL2) PE2 (ADC1/RXD/DALI /ICP1_A/SCK_A) PD4 (ADC2/AC MP2 )PD5 (ADC3/ACMPM/INT0) P D6 (ACMP0) D7 P (ADC5/INT1PB2 )
AT90PWM216/316
Table 3-1.
S024 Pin Number 6
Pin out description (Continued)
SO32 Pin Number 8 QFN32 Pin Number 4 Mnemonic VCC Type power Name, Function & Alternate Function Power Supply: Analog Power Supply: This is the power supply voltage for analog part For a normal use this pin must be connected. Analog Reference : reference for analog converter . This is the reference voltage of the A/D converter. As output, can be used by external analog MISO (SPI Master In Slave Out) PSCOUT20 output MOSI (SPI Master Out Slave In) PSCOUT21 output ADC5 (Analog Input Channel5 ) INT1 AMP0- (Analog Differential Amplifier 0 Input Channel ) AMP0+ (Analog Differential Amplifier 0 Input Channel ) ADC6 (Analog Input Channel 6) INT 2 ADC7 (Analog Input Channel 7)
17
23
19
AVCC
Power
19
25
21
AREF
Power
8
12
8
PBO
I/O
9
13
9
PB1
I/O
16 20 21 22
20 27 28 30
16 23 24 26
PB2 PB3 PB4 PB5
I/O I/O I/O I/O
23
31
27
PB6
I/O
ICP1B (Timer 1 input capture alternate input) PSCOUT11 output (see note 1) PSCOUT01 output
24
32
28
PB7
I/O
ADC4 (Analog Input Channel 4) SCK (SPI Clock)
2
30
PC0
I/O
PSCOUT10 output (see note 1) INT3 PSCIN1 (PSC 1 Digital Input) OC1B (Timer 1 Output Compare B) T0 (Timer 0 clock input) PSCOUT22 output T1 (Timer 1 clock input) PSCOUT23 output ADC8 (Analog Input Channel 8) AMP1- (Analog Differential Amplifier 1 Input Channel )
7
3
PC1
I/O
10
6
PC2
I/O
11 NA 21
7
PC3
I/O I/O
17
PC4
22
18
PC5
I/O
ADC9 (Analog Input Channel 9) AMP1+ (Analog Differential Amplifier 1 Input Channel ) ADC10 (Analog Input Channel 10) ACMP1 (Analog Comparator 1 Positive Input ) D2A : DAC output
26 29
22 25
PC6 PC7
I/O I/O
5
7710CS-AVR-01/08
Table 3-1.
S024 Pin Number
Pin out description (Continued)
SO32 Pin Number QFN32 Pin Number Mnemonic Type Name, Function & Alternate Function PSCOUT00 output
1
1
29
PD0
I/O
XCK (UART Transfer Clock) SS_A (Alternate SPI Slave Select)
3
4
32
PD1
I/O
PSCIN0 (PSC 0 Digital Input ) CLKO (System Clock Output) PSCIN2 (PSC 2 Digital Input)
4
5
1
PD2
I/O
OC1A (Timer 1 Output Compare A) MISO_A (Programming & alternate SPI Master In Slave Out) TXD (Dali/UART Tx data)
5
6
2
PD3
I/O
OC0A (Timer 0 Output Compare A) SS (SPI Slave Select) MOSI_A (Programming & alternate Master Out SPI Slave In) ADC1 (Analog Input Channel 1)
12
16
12
PD4
I/O
RXD (Dali/UART Rx data) ICP1A (Timer 1 input capture) SCK_A (Programming & alternate SPI Clock)
13
17
13
PD5
I/O
ADC2 (Analog Input Channel 2) ACMP2 (Analog Comparator 2 Positive Input ) ADC3 (Analog Input Channel 3 )
14
18
14
PD6
I/O
ACMPM reference for analog comparators INT0
15 2
19 3
15 31
PD7 PE0
I/O I/O or I
ACMP0 (Analog Comparator 0 Positive Input ) RESET (Reset Input) OCD (On Chip Debug I/O) XTAL1: XTAL Input OC0B (Timer 0 Output Compare B) XTAL2: XTAL OuTput ADC0 (Analog Input Channel 0)
10
14
10
PE1
I/O
11
15
11
PE2
I/O
1. PSCOUT10 & PSCOUT11 are not present on 24 pins package
4. Overview
The AT90PWM216/316 is a low-power CMOS 8-bit microcontroller based on the AVR enhanced RISC architecture. By executing powerful instructions in a single clock cycle, the AT90PWM216/316 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.
6
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
4.1 Block Diagram
Figure 4-1. Block Diagram
Data Bus 8-bit
16Kx8 Flash Program Memory
Program Counter
Status and Control
Interrupt Unit SPI Unit
Instruction Register
32 x 8 General Purpose Registrers
Watchdog Timer 3 Analog Comparators
Indirect Addressing
Instruction Decoder
Direct Add ressing
ALU
DALI USART
Control Lines
Timer 0
Timer 1 Data SRA M 1024 byt s e
ADC
EEPROM 512 bytes
DAC
I/O Lines
PSC 2/1/0
The AVR core combines a rich instruction set with 32 general purpose working registers. All the 32 registers are directly connected to the Arithmetic Logic Unit (ALU), allowing two independent registers to be accessed in one single instruction executed in one clock cycle. The resulting architecture is more code efficient while achieving throughputs up to ten times faster than conventional CISC microcontrollers. The AT90PWM216/316 provides the following features: 16K bytes of In-System Programmable Flash with Read-While-Write capabilities, 512 bytes EEPROM, 1024 bytes SRAM, 53 general purpose I/O lines, 32 general purpose working registers,three Power Stage Controllers, two flexible Timer/Counters with compare modes and PWM, one USART with DALI mode, an 11channel 10-bit ADC with two differential input stage with programmable gain, a 10-bit DAC, a programmable Watchdog Timer with Internal Oscillator, an SPI serial port, an On-chip Debug system and four software selectable power saving modes.
7
7710CS-AVR-01/08
The Idle mode stops the CPU while allowing the SRAM, Timer/Counters, SPI ports and interrupt system to continue functioning. The Power-down mode saves the register contents but freezes the Oscillator, disabling all other chip functions until the next interrupt or Hardware Reset. The ADC Noise Reduction mode stops the CPU and all I/O modules except ADC, to minimize switching noise during ADC conversions. In Standby mode, the Crystal/Resonator Oscillator is running while the rest of the device is sleeping. This allows very fast start-up combined with low power consumption. The device is manufactured using Atmel's high-density nonvolatile memory technology. The Onchip ISP Flash allows the program memory to be reprogrammed in-system through an SPI serial interface, by a conventional nonvolatile memory programmer, or by an On-chip Boot program running on the AVR core. The boot program can use any interface to download the application program in the application Flash memory. Software in the Boot Flash section will continue to run while the Application Flash section is updated, providing true Read-While-Write operation. By combining an 8-bit RISC CPU with In-System Self-Programmable Flash on a monolithic chip, the Atmel AT90PWM216/316 is a powerful microcontroller that provides a highly flexible and cost effective solution to many embedded control applications. The AT90PWM216/316 AVR is supported with a full suite of program and system development tools including: C compilers, macro assemblers, program debugger/simulators, in-circuit emulators, and evaluation kits.
4.2
4.2.1
Pin Descriptions
VCC Digital supply voltage.
4.2.2
GND Ground.
4.2.3
Port B (PB7..PB0) Port B is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port B output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port B pins that are externally pulled low will source current if the pull-up resistors are activated. The Port B pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port B also serves the functions of various special features of the AT90PWM216/316 as listed on page 67.
4.2.4
Port C (PC7..PC0) Port C is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port C output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port C pins that are externally pulled low will source current if the pull-up resistors are activated. The Port C pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port C is not available on 24 pins package. Port C also serves the functions of special features of the AT90PWM216/316 as listed on page 70.
8
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
4.2.5 Port D (PD7..PD0) Port D is an 8-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port D output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port D pins that are externally pulled low will source current if the pull-up resistors are activated. The Port D pins are tri-stated when a reset condition becomes active, even if the clock is not running. Port D also serves the functions of various special features of the AT90PWM216/316 as listed on page 73. 4.2.6 Port E (PE2..0) RESET/ XTAL1/ XTAL2 Port E is an 3-bit bi-directional I/O port with internal pull-up resistors (selected for each bit). The Port E output buffers have symmetrical drive characteristics with both high sink and source capability. As inputs, Port E pins that are externally pulled low will source current if the pull-up resistors are activated. The Port E pins are tri-stated when a reset condition becomes active, even if the clock is not running. If the RSTDISBL Fuse is programmed, PE0 is used as an I/O pin. Note that the electrical characteristics of PE0 differ from those of the other pins of Port C. If the RSTDISBL Fuse is unprogrammed, PE0 is used as a Reset input. A low level on this pin for longer than the minimum pulse length will generate a Reset, even if the clock is not running. The minimum pulse length is given in Table 9-1 on page 45. Shorter pulses are not guaranteed to generate a Reset.
Depending on the clock selection fuse settings, PE1 can be used as input to the inverting Oscillator amplifier and input to the internal clock operating circuit. Depending on the clock selection fuse settings, PE2 can be used as output from the inverting Oscillator amplifier.
The various special features of Port E are elaborated in "Alternate Functions of Port E" on page 76 and "Clock Systems and their Distribution" on page 28. 4.2.7 AVCC AVCC is the supply voltage pin for the A/D Converter. It should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through a lowpass filter. 4.2.8 AREF This is the analog reference pin for the A/D Converter.
4.3
About Code Examples
This documentation contains simple code examples that briefly show how to use various parts of the device. These code examples assume that the part specific header file is included before compilation. Be aware that not all C compiler vendors include bit definitions in the header files and interrupt handling in C is compiler dependent. Please confirm with the C compiler documentation for more details.
9
7710CS-AVR-01/08
5. Register Summary
Address
(0xFF) (0xFE) (0xFD) (0xFC) (0xFB) (0xFA) (0xF9) (0xF8) (0xF7) (0xF6) (0xF5) (0xF4) (0xF3) (0xF2) (0xF1) (0xF0) (0xEF) (0xEE) (0xED) (0xEC) (0xEB) (0xEA) (0xE9) (0xE8) (0xE7) (0xE6) (0xE5) (0xE4) (0xE3) (0xE2) (0xE1) (0xE0) (0xDF) (0xDE) (0xDD) (0xDC) (0xDB) (0xDA) (0xD9) (0xD8) (0xD7) (0xD6) (0xD5) (0xD4) (0xD3) (0xD2) (0xD1) (0xD0) (0xCF) (0xCE) (0xCD) (0xCC) (0xCB) (0xCA) (0xC9) (0xC8) (0xC7) (0xC6) (0xC5) (0xC4) (0xC3) (0xC2) (0xC1) (0xC0) (0xBF)
Name
PICR2H PICR2L PFRC2B PFRC2A PCTL2 PCNF2 OCR2RBH OCR2RBL OCR2SBH OCR2SBL OCR2RAH OCR2RAL OCR2SAH OCR2SAL POM2 PSOC2 PICR1H PICR1L PFRC1B PFRC1A PCTL1 PCNF1 OCR1RBH OCR1RBL OCR1SBH OCR1SBL OCR1RAH OCR1RAL OCR1SAH OCR1SAL Reserved PSOC1 PICR0H PICR0L PFRC0B PFRC0A PCTL0 PCNF0 OCR0RBH OCR0RBL OCR0SBH OCR0SBL OCR0RAH OCR0RAL OCR0SAH OCR0SAL Reserved PSOC0 Reserved EUDR MUBRRH MUBRRL Reserved EUCSRC EUCSRB EUCSRA Reserved UDR UBRRH UBRRL Reserved UCSRC UCSRB UCSRA Reserved
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Page
page 171 page 171
PCAE2B PCAE2A PPRE21 PFIFTY2
PISEL2B PISEL2A PPRE20 PALOCK2
PELEV2B PELEV2A PBFM2 PLOCK2
PFLTE2B PFLTE2A PAOC2B PMODE21
PRFM2B3 PRFM2A3 PAOC2A PMODE20
PRFM2B2 PRFM2A2 PARUN2 POP2
PRFM2B1 PRFM2A1 PCCYC2 PCLKSEL2
PRFM2B0 PRFM2A0 PRUN2 POME2
page 169 page 169 page 168 page 165 page 164 page 164 page 164 page 164 page 164 page 164 page 164 page 164
POMV2B3 POS23
POMV2B2 POS22
POMV2B1 PSYNC21
POMV2B0 PSYNC20
POMV2A3 POEN2D
POMV2A2 POEN2B
POMV2A1 POEN2C
POMV2A0 POEN2A
page 171 page 163 page 171 page 171
PCAE1B PCAE1A PPRE11 PFIFTY1
PISEL1B PISEL1A PPRE10 PALOCK1
PELEV1B PELEV1A PBFM1 PLOCK1
PFLTE1B PFLTE1A PAOC1B PMODE11
PRFM1B3 PRFM1A3 PAOC1A PMODE10
PRFM1B2 PRFM1A2 PARUN1 POP1
PRFM1B1 PRFM1A1 PCCYC1 PCLKSEL1
PRFM1B0 PRFM1A0 PRUN1 -
page 169 page 169 page 167 page 165 page 164 page 164 page 164 page 164 page 164 page 164 page 164 page 164
- -
- -
- PSYNC11
- PSYNC10
- -
- POEN1B
- -
- POEN1A page 163 page 170 page 170
PCAE0B PCAE0A PPRE01 PFIFTY0
PISEL0B PISEL0A PPRE00 PALOCK0
PELEV0B PELEV0A PBFM0 PLOCK0
PFLTE0B PFLTE0A PAOC0B PMODE01
PRFM0B3 PRFM0A3 PAOC0A PMODE00
PRFM0B2 PRFM0A2 PARUN0 POP0
PRFM0B1 PRFM0A1 PCCYC0 PCLKSEL0
PRFM0B0 PRFM0A0 PRUN0 -
page 169 page 169 page 166 page 165 page 164 page 164 page 164 page 164 page 164 page 164 page 164 page 164
- - - EUDR7 MUBRR15 MUBRR7 - - - UTxS3 - UDR07 - UBRR07 - - RXCIE0 RXC0 -
- - - EUDR6 MUBRR014 MUBRR6 - - - UTxS2 - UDR06 - UBRR06 - UMSEL0 TXCIE0 TXC0 -
- PSYNC01 - EUDR5 MUBRR13 MUBRR5 - - - UTxS1 - UDR05 - UBRR05 - UPM01 UDRIE0 UDRE0 -
- PSYNC00 - EUDR4 MUBRR12 MUBRR4 - - EUSART UTxS0 - UDR04 - UBRR04 - UPM00 RXEN0 FE0 -
- - - EUDR3 MUBRR011 MUBRR3 - FEM EUSBS URxS3 - UDR03 UBRR011 UBRR03 - USBS0 TXEN0 DOR0 -
- POEN0B - EUDR2 MUBRR010 MUBRR2 - F1617 - URxS2 - UDR02 UBRR010 UBRR02 - UCSZ01 UCSZ02 UPE0 -
- - - EUDR1 MUBRR9 MUBRR1 - STP1 EMCH URxS1 - UDR01 UBRR09 UBRR01 - UCSZ00 RXB80 U2X0 -
- POEN0A - EUDR0 MUBRR8 MUBRR0 - STP0 BODR URxS0 - UDR00 UBRR08 UBRR00 - UCPOL0 TXB80 MPCM0 - page 206 page 205 page 204 page 222 & page 203 page 208 page 208 page 226 page 225 page 224 page 222 page 227 page 227 page 163
10
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
Address
(0xBE) (0xBD) (0xBC) (0xBB) (0xBA) (0xB9) (0xB8) (0xB7) (0xB6) (0xB5) (0xB4) (0xB3) (0xB2) (0xB1) (0xB0) (0xAF) (0xAE) (0xAD) (0xAC) (0xAB) (0xAA) (0xA9) (0xA8) (0xA7) (0xA6) (0xA5) (0xA4) (0xA3) (0xA2) (0xA1) (0xA0) (0x9F) (0x9E) (0x9D) (0x9C) (0x9B) (0x9A) (0x99) (0x98) (0x97) (0x96) (0x95) (0x94) (0x93) (0x92) (0x91) (0x90) (0x8F) (0x8E) (0x8D) (0x8C) (0x8B) (0x8A) (0x89) (0x88) (0x87) (0x86) (0x85) (0x84) (0x83) (0x82) (0x81) (0x80) (0x7F) (0x7E) (0x7D)
Name
Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved AC2CON AC1CON AC0CON DACH DACL DACON Reserved Reserved Reserved Reserved PIM2 PIFR2 PIM1 PIFR1 PIM0 PIFR0 Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved OCR1BH OCR1BL OCR1AH OCR1AL ICR1H ICR1L TCNT1H TCNT1L Reserved TCCR1C TCCR1B TCCR1A DIDR1 DIDR0 Reserved
Bit 7
- - - - - - - - - - - - - - - AC2EN AC1EN AC0EN - / DAC9 DAC7 / DAC1 DAATE - - - - - - - - - - - - - - - - - - - - - - - - OCR1B15 OCR1B7 OCR1A15 OCR1A7 ICR115 ICR17 TCNT115 TCNT17 - FOC1A ICNC1 COM1A1 - ADC7D -
Bit 6
- - - - - - - - - - - - - - - AC2IE AC1IE AC0IE - / DAC8 DAC6 /DAC0 DATS2 - - - - - - - - - - - - - - - - - - - - - - - - OCR1B14 OCR1B6 OCR1A14 OCR1A6 ICR114 ICR16 TCNT114 TCNT16 - FOC1B ICES1 COM1A0 - ADC6D -
Bit 5
- - - - - - - - - - - - - - - AC2IS1 AC1IS1 AC0IS1 - / DAC7 DAC5 / DATS1 - - - - PSEIE2 PSEI2 PSEIE1 PSEI1 PSEIE0 PSEI0 - - - - - - - - - - - - - - - - - - - - OCR1B13 OCR1B5 OCR1A13 OCR1A5 ICR113 ICR15 TCNT113 TCNT15 - - - COM1B1 ACMP0D ADC5D -
Bit 4
- - - - - - - - - - - - - - - AC2IS0 AC1IS0 AC0IS0 - / DAC6 DAC4 / DATS0 - - - - PEVE2B PEV2B PEVE1B PEV1B PEVE0B PEV0B - - - - - - - - - - - - - - - - - - - - OCR1B12 OCR1B4 OCR1A12 OCR1A4 ICR112 ICR14 TCNT112 TCNT14 - - WGM13 COM1B0 AMP0PD ADC4D -
Bit 3
- - - - - - - - - - - - - - - AC2SADEAC1ICE - / DAC5 DAC3 / - - - - PEVE2A PEV2A PEVE1A PEV1A PEVE0A PEV0A - - - - - - - - - - - - - - - - - - - - OCR1B11 OCR1B3 OCR1A11 OCR1A3 ICR111 ICR13 TCNT111 TCNT13 - - WGM12 - AMP0ND ADC3D/ACMPMD -
Bit 2
- - - - - - - - - - - - - - - AC2M2 AC1M2 AC0M2 - / DAC4 DAC2 / DALA - - - - PRN21 PRN11 PRN01 - - - - - - - - - - - - - - - - - - - - OCR1B10 OCR1B2 OCR1A10 OCR1A2 ICR110 ICR12 TCNT110 TCNT12 - - CS12 - ADC10D/ACMP1D ADC2D/ACMP2D -
Bit 1
- - - - - - - - - - - - - - - AC2M1 AC1M1 AC0M1 DAC9 / DAC3 DAC1 / DAOE - - - - PRN20 PRN10 PRN00 - - - - - - - - - - - - - - - - - - - - OCR1B9 OCR1B1 OCR1A9 OCR1A1 ICR19 ICR11 TCNT19 TCNT11 - - CS11 WGM11 ADC9D/AMP1PD ADC1D -
Bit 0
- - - - - - - - - - - - - - - AC2M0 AC1M0 AC0M0 DAC8 / DAC2 DAC0 / DAEN - - - - PEOPE2 PEOP2 PEOPE1 PEOP1 PEOPE0 PEOP0 - - - - - - - - - - - - - - - - - - - - OCR1B8 OCR1B0 OCR1A8 OCR1A0 ICR18 ICR10 TCNT18 TCNT10 - - CS10 WGM10 ADC8D/AMP1ND ADC0D -
Page
page 232 page 231 page 230 page 263 page 263 page 262
page 172 page 173 page 172 page 173 page 172 page 172
page 128 page 128 page 128 page 128 page 128 page 128 page 128 page 128 page 127 page 126 page 124 page 254 page 254
11
7710CS-AVR-01/08
Address
(0x7C) (0x7B) (0x7A) (0x79) (0x78) (0x77) (0x76) (0x75) (0x74) (0x73) (0x72) (0x71) (0x70) (0x6F) (0x6E) (0x6D) (0x6C) (0x6B) (0x6A) (0x69) (0x68) (0x67) (0x66) (0x65) (0x64) (0x63) (0x62) (0x61) (0x60) 0x3F (0x5F) 0x3E (0x5E) 0x3D (0x5D) 0x3C (0x5C) 0x3B (0x5B) 0x3A (0x5A) 0x39 (0x59) 0x38 (0x58) 0x37 (0x57) 0x36 (0x56) 0x35 (0x55) 0x34 (0x54) 0x33 (0x53) 0x32 (0x52) 0x31 (0x51) 0x30 (0x50) 0x2F (0x4F) 0x2E (0x4E) 0x2D (0x4D) 0x2C (0x4C) 0x2B (0x4B) 0x2A (0x4A) 0x29 (0x49) 0x28 (0x48) 0x27 (0x47) 0x26 (0x46) 0x25 (0x45) 0x24 (0x44) 0x23 (0x43) 0x22 (0x42) 0x21 (0x41) 0x20 (0x40) 0x1F (0x3F) 0x1E (0x3E) 0x1D (0x3D) 0x1C (0x3C) 0x1B (0x3B)
Name
ADMUX ADCSRB ADCSRA ADCH ADCL AMP1CSR AMP0CSR Reserved Reserved Reserved Reserved Reserved Reserved TIMSK1 TIMSK0 Reserved Reserved Reserved Reserved EICRA Reserved Reserved OSCCAL Reserved PRR Reserved Reserved CLKPR WDTCSR SREG SPH SPL Reserved Reserved Reserved Reserved Reserved SPMCSR Reserved MCUCR MCUSR SMCR MSMCR MONDR ACSR Reserved SPDR SPSR SPCR Reserved Reserved PLLCSR OCR0B OCR0A TCNT0 TCCR0B TCCR0A GTCCR EEARH EEARL EEDR EECR GPIOR0 EIMSK EIFR GPIOR3
Bit 7
REFS1 ADHSM ADEN - / ADC9 ADC7 / ADC1 AMP1EN AMP0EN - - - - - - - - - - - - ISC31 - - - - PRPSC2 - - CLKPCE WDIF I SP15 SP7 - - - - - SPMIE - SPIPS - -
Bit 6
REFS0 - ADSC - / ADC8 ADC6 / ADC0 - - - - - - - - - - - - ISC30 - - CAL6 - PRPSC1 - - - WDIE T SP14 SP6 - - - - - RWWSB - - - -
Bit 5
ADLAR - ADATE - / ADC7 ADC5 / AMP1G1 AMP0G1 - - - - - - ICIE1 - - - - - ISC21 - - CAL5 - PRPSC0 - - - WDP3 H SP13 SP5 - - - - - - - - - -
Bit 4
- - ADIF - / ADC6 ADC4 / AMP1G0 AMP0G0 - - - - - - - - - - - - ISC20 - - CAL4 - PRTIM1 - - - WDCE S SP12 SP4 - - - - - RWWSRE - PUD - -
Bit 3
MUX3 ADTS3 ADIE - / ADC5 ADC3 / - - - - - - - - - - - - ISC11 - - CAL3 - PRTIM0 - - CLKPS3 WDE V SP11 SP3 - - - - - BLBSET - - WDRF SM2
Bit 2
MUX2 ADTS2 ADPS2 - / ADC4 ADC2 / AMP1TS2 AMP0TS2 - - - - - - OCIE1B OCIE0B - - - - ISC10 - - CAL2 - PRSPI - - CLKPS2 WDP2 N SP10 SP2 - - - - - PGWRT - - BORF SM1
Bit 1
MUX1 ADTS1 ADPS1 ADC9 / ADC3 ADC1 / AMP1TS1 AMP0TS1 - - - - - - OCIE1A OCIE0A - - - - ISC01 - - CAL1 - PRUSART - - CLKPS1 WDP1 Z SP9 SP1 - - - - - PGERS - IVSEL EXTRF SM0
Bit 0
MUX0 ADTS0 ADPS0 ADC8 / ADC2 ADC0 / AMP1TS0 AMP0TS0 - - - - - - TOIE1 TOIE0 - - - - ISC00 - - CAL0 - PRADC - - CLKPS0 WDP0 C SP8 SP0 - - - - - SPMEN - IVCE PORF SE
Page
page 249 page 252 page 251 page 253 page 253 page 258 page 257
page 129 page 101
page 80
page 33 page 41
page 37 page 52 page 12 page 14 page 14
page 272 page 58 & page 67 page 48 page 39 reserved reserved
Monitor Stop Mode Control Register Monitor Data Register ACCKDIV - SPD7 SPIF SPIE - - OCR0B7 OCR0A7 TCNT07 FOC0A COM0A1 TSM - EEAR7 EEDR7 - GPIOR07 - - GPIOR37 AC2IF - SPD6 WCOL SPE - - OCR0B6 OCR0A6 TCNT06 FOC0B COM0A0 ICPSEL1 - EEAR6 EEDR6 - GPIOR06 - - GPIOR36 AC1IF - SPD5 - DORD - - OCR0B5 OCR0A5 TCNT05 - COM0B1 - - EEAR5 EEDR5 - GPIOR05 - - GPIOR35 AC0IF - SPD4 - MSTR - - OCR0B4 OCR0A4 TCNT04 - COM0B0 - - EEAR4 EEDR4 - GPIOR04 - - GPIOR34 - - SPD3 - CPOL - - OCR0B3 OCR0A3 TCNT03 WGM02 - - EEAR11 EEAR3 EEDR3 EERIE GPIOR03 INT3 INTF3 GPIOR33 AC2O - SPD2 - CPHA - - PLLF OCR0B2 OCR0A2 TCNT02 CS02 - - EEAR10 EEAR2 EEDR2 EEMWE GPIOR02 INT2 INTF2 GPIOR32 AC1O - SPD1 - SPR1 - - PLLE OCR0B1 OCR0A1 TCNT01 CS01 WGM01 - EEAR9 EEAR1 EEDR1 EEWE GPIOR01 INT1 INTF1 GPIOR31 AC0O - SPD0 SPI2X SPR0 - - PLOCK OCR0B0 OCR0A0 TCNT00 CS00 WGM00 PSRSYNC EEAR8 EEAR0 EEDR0 EERE GPIOR00 INT0 INTF0 GPIOR30
page 233 page 183 page 182 page 181
page 35 page 101 page 101 page 101 page 100 page 97 page 83 page 20 page 20 page 21 page 21 page 26 page 81 page 81 page 27
12
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
Address
0x1A (0x3A) 0x19 (0x39) 0x18 (0x38) 0x17 (0x37) 0x16 (0x36) 0x15 (0x35) 0x14 (0x34) 0x13 (0x33) 0x12 (0x32) 0x11 (0x31) 0x10 (0x30) 0x0F (0x2F) 0x0E (0x2E) 0x0D (0x2D) 0x0C (0x2C) 0x0B (0x2B) 0x0A (0x2A) 0x09 (0x29) 0x08 (0x28) 0x07 (0x27) 0x06 (0x26) 0x05 (0x25) 0x04 (0x24) 0x03 (0x23) 0x02 (0x22) 0x01 (0x21) 0x00 (0x20)
Name
GPIOR2 GPIOR1 Reserved Reserved TIFR1 TIFR0 Reserved Reserved Reserved Reserved Reserved Reserved PORTE DDRE PINE PORTD DDRD PIND PORTC DDRC PINC PORTB DDRB PINB Reserved Reserved Reserved
Bit 7
GPIOR27 GPIOR17 - - - - - - - - - - - - - PORTD7 DDD7 PIND7 PORTC7 DDC7 PINC7 PORTB7 DDB7 PINB7 - - -
Bit 6
GPIOR26 GPIOR16 - - - - - - - - - - - - - PORTD6 DDD6 PIND6 PORTC6 DDC6 PINC6 PORTB6 DDB6 PINB6 - - -
Bit 5
GPIOR25 GPIOR15 - - ICF1 - - - - - - - - - - PORTD5 DDD5 PIND5 PORTC5 DDC5 PINC5 PORTB5 DDB5 PINB5 - - -
Bit 4
GPIOR24 GPIOR14 - - - - - - - - - - - - - PORTD4 DDD4 PIND4 PORTC4 DDC4 PINC4 PORTB4 DDB4 PINB4 - - -
Bit 3
GPIOR23 GPIOR13 - - - - - - - - - - - - - PORTD3 DDD3 PIND3 PORTC3 DDC3 PINC3 PORTB3 DDB3 PINB3 - - -
Bit 2
GPIOR22 GPIOR12 - - OCF1B OCF0B - - - - - - PORTE2 DDE2 PINE2 PORTD2 DDD2 PIND2 PORTC2 DDC2 PINC2 PORTB2 DDB2 PINB2 - - -
Bit 1
GPIOR21 GPIOR11 - - OCF1A OCF0A - - - - - - PORTE1 DDE1 PINE1 PORTD1 DDD1 PIND1 PORTC1 DDC1 PINC1 PORTB1 DDB1 PINB1 - - -
Bit 0
GPIOR20 GPIOR10 - - TOV1 TOV0 - - - - - - PORTE0 DDE0 PINE0 PORTD0 DDD0 PIND0 PORTC0 DDC0 PINC0 PORTB0 DDB0 PINB0 - - -
Page
page 26 page 26
page 130 page 102
page 79 page 79 page 79 page 78 page 78 page 79 page 78 page 78 page 78 page 78 page 78 page 78
Note:
1. For compatibility with future devices, reserved bits should be written to zero if accessed. Reserved I/O memory addresses should never be written. 2. I/O Registers within the address range 0x00 - 0x1F are directly bit-accessible using the SBI and CBI instructions. In these registers, the value of single bits can be checked by using the SBIS and SBIC instructions. 3. Some of the status flags are cleared by writing a logical one to them. Note that, unlike most other AVRs, the CBI and SBI instructions will only operate on the specified bit, and can therefore be used on registers containing such status flags. The CBI and SBI instructions work with registers 0x00 to 0x1F only. 4. When using the I/O specific commands IN and OUT, the I/O addresses 0x00 - 0x3F must be used. When addressing I/O Registers as data space using LD and ST instructions, 0x20 must be added to these addresses. The AT90PWM216/316 is a complex microcontroller with more peripheral units than can be supported within the 64 location reserved in Opcode for the IN and OUT instructions. For the Extended I/O space from 0x60 - 0xFF in SRAM, only the ST/STS/STD and LD/LDS/LDD instructions can be used.
13
7710CS-AVR-01/08
6. Instruction Set Summary
Mnemonics
ADD ADC ADIW SUB SUBI SBC SBCI SBIW AND ANDI OR ORI EOR COM NEG SBR CBR INC DEC TST CLR SER MUL MULS MULSU FMUL FMULS FMULSU RJMP IJMP JMP RCALL ICALL CALL RET RETI CPSE CP CPC CPI SBRC SBRS SBIC SBIS BRBS BRBC BREQ BRNE BRCS BRCC BRSH BRLO BRMI BRPL BRGE BRLT BRHS BRHC BRTS BRTC BRVS BRVC Rd,Rr Rd,Rr Rd,Rr Rd,K Rr, b Rr, b P, b P, b s, k s, k k k k k k k k k k k k k k k k k k k k
Operands
Rd, Rr Rd, Rr Rdl,K Rd, Rr Rd, K Rd, Rr Rd, K Rdl,K Rd, Rr Rd, K Rd, Rr Rd, K Rd, Rr Rd Rd Rd,K Rd,K Rd Rd Rd Rd Rd Rd, Rr Rd, Rr Rd, Rr Rd, Rr Rd, Rr Rd, Rr k
Description
Add two Registers Add with Carry two Registers Add Immediate to Word Subtract two Registers Subtract Constant from Register Subtract with Carry two Registers Subtract with Carry Constant from Reg. Subtract Immediate from Word Logical AND Registers Logical AND Register and Constant Logical OR Registers Logical OR Register and Constant Exclusive OR Registers One's Complement Two's Complement Set Bit(s) in Register Clear Bit(s) in Register Increment Decrement Test for Zero or Minus Clear Register Set Register Multiply Unsigned Multiply Signed Multiply Signed with Unsigned Fractional Multiply Unsigned Fractional Multiply Signed Fractional Multiply Signed with Unsigned BRANCH INSTRUCTIONS Relative Jump Indirect Jump to (Z) Direct Jump Relative Subroutine Call Indirect Call to (Z) Direct Call Subroutine Return Interrupt Return Compare, Skip if Equal Compare Compare with Carry Compare Register with Immediate Skip if Bit in Register Cleared Skip if Bit in Register is Set Skip if Bit in I/O Register Cleared Skip if Bit in I/O Register is Set Branch if Status Flag Set Branch if Status Flag Cleared Branch if Equal Branch if Not Equal Branch if Carry Set Branch if Carry Cleared Branch if Same or Higher Branch if Lower Branch if Minus Branch if Plus Branch if Greater or Equal, Signed Branch if Less Than Zero, Signed Branch if Half Carry Flag Set Branch if Half Carry Flag Cleared Branch if T Flag Set Branch if T Flag Cleared Branch if Overflow Flag is Set Branch if Overflow Flag is Cleared
Operation
Rd Rd + Rr Rd Rd + Rr + C Rdh:Rdl Rdh:Rdl + K Rd Rd - Rr Rd Rd - K Rd Rd - Rr - C Rd Rd - K - C Rdh:Rdl Rdh:Rdl - K Rd Rd * Rr Rd Rd * K Rd Rd v Rr Rd Rd v K Rd Rd Rr Rd 0xFF - Rd Rd 0x00 - Rd Rd Rd v K Rd Rd * (0xFF - K) Rd Rd + 1 Rd Rd - 1 Rd Rd * Rd Rd Rd Rd Rd 0xFF R1:R0 Rd x Rr R1:R0 Rd x Rr R1:R0 Rd x Rr R1:R0 (Rd x Rr) << 1 R1:R0 (Rd x Rr) << 1 R1:R0 (Rd x Rr) << 1 PC PC + k + 1 PC Z PC k PC PC + k + 1 PC Z PC k PC STACK PC STACK if (Rd = Rr) PC PC + 2 or 3 Rd - Rr Rd - Rr - C Rd - K if (Rr(b)=0) PC PC + 2 or 3 if (Rr(b)=1) PC PC + 2 or 3 if (P(b)=0) PC PC + 2 or 3 if (P(b)=1) PC PC + 2 or 3 if (SREG(s) = 1) then PCPC+k + 1 if (SREG(s) = 0) then PCPC+k + 1 if (Z = 1) then PC PC + k + 1 if (Z = 0) then PC PC + k + 1 if (C = 1) then PC PC + k + 1 if (C = 0) then PC PC + k + 1 if (C = 0) then PC PC + k + 1 if (C = 1) then PC PC + k + 1 if (N = 1) then PC PC + k + 1 if (N = 0) then PC PC + k + 1 if (N V= 0) then PC PC + k + 1 if (N V= 1) then PC PC + k + 1 if (H = 1) then PC PC + k + 1 if (H = 0) then PC PC + k + 1 if (T = 1) then PC PC + k + 1 if (T = 0) then PC PC + k + 1 if (V = 1) then PC PC + k + 1 if (V = 0) then PC PC + k + 1
Flags
Z,C,N,V,H Z,C,N,V,H Z,C,N,V,S Z,C,N,V,H Z,C,N,V,H Z,C,N,V,H Z,C,N,V,H Z,C,N,V,S Z,N,V Z,N,V Z,N,V Z,N,V Z,N,V Z,C,N,V Z,C,N,V,H Z,N,V Z,N,V Z,N,V Z,N,V Z,N,V Z,N,V None Z,C Z,C Z,C Z,C Z,C Z,C None None None None None None None I None Z, N,V,C,H Z, N,V,C,H Z, N,V,C,H None None None None None None None None None None None None None None None None None None None None None None
#Clocks
1 1 2 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 3 3 3 4 4 4 1/2/3 1 1 1 1/2/3 1/2/3 1/2/3 1/2/3 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2 1/2
ARITHMETIC AND LOGIC INSTRUCTIONS
14
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
Mnemonics
BRIE BRID SBI CBI LSL LSR ROL ROR ASR SWAP BSET BCLR BST BLD SEC CLC SEN CLN SEZ CLZ SEI CLI SES CLS SEV CLV SET CLT SEH CLH MOV MOVW LDI LD LD LD LD LD LD LDD LD LD LD LDD LDS ST ST ST ST ST ST STD ST ST ST STD STS LPM LPM LPM SPM IN OUT PUSH Rd, P P, Rr Rr Rd, Z Rd, Z+ Rd, Rr Rd, Rr Rd, K Rd, X Rd, X+ Rd, - X Rd, Y Rd, Y+ Rd, - Y Rd,Y+q Rd, Z Rd, Z+ Rd, -Z Rd, Z+q Rd, k X, Rr X+, Rr - X, Rr Y, Rr Y+, Rr - Y, Rr Y+q,Rr Z, Rr Z+, Rr -Z, Rr Z+q,Rr k, Rr
Operands
k k P,b P,b Rd Rd Rd Rd Rd Rd s s Rr, b Rd, b
Description
Branch if Interrupt Enabled Branch if Interrupt Disabled
Operation
if ( I = 1) then PC PC + k + 1 if ( I = 0) then PC PC + k + 1 I/O(P,b) 1 I/O(P,b) 0 Rd(n+1) Rd(n), Rd(0) 0 Rd(n) Rd(n+1), Rd(7) 0 Rd(0)C,Rd(n+1) Rd(n),CRd(7) Rd(7)C,Rd(n) Rd(n+1),CRd(0) Rd(n) Rd(n+1), n=0..6 Rd(3..0)Rd(7..4),Rd(7..4)Rd(3..0) SREG(s) 1 SREG(s) 0 T Rr(b) Rd(b) T C1 C0 N1 N0 Z1 Z0 I1 I0 S1 S0 V1 V0 T1 T0 H1 H0 Rd Rr Rd+1:Rd Rr+1:Rr Rd K Rd (X) Rd (X), X X + 1 X X - 1, Rd (X) Rd (Y) Rd (Y), Y Y + 1 Y Y - 1, Rd (Y) Rd (Y + q) Rd (Z) Rd (Z), Z Z+1 Z Z - 1, Rd (Z) Rd (Z + q) Rd (k) (X) Rr (X) Rr, X X + 1 X X - 1, (X) Rr (Y) Rr (Y) Rr, Y Y + 1 Y Y - 1, (Y) Rr (Y + q) Rr (Z) Rr (Z) Rr, Z Z + 1 Z Z - 1, (Z) Rr (Z + q) Rr (k) Rr R0 (Z) Rd (Z) Rd (Z), Z Z+1 (Z) R1:R0 Rd P P Rr STACK Rr
Flags
None None None None Z,C,N,V Z,C,N,V Z,C,N,V Z,C,N,V Z,C,N,V None SREG(s) SREG(s) T None C C N N Z Z I I S S V V T T H H None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None None
#Clocks
1/2 1/2 2 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 3 3 3 1 1 2
BIT AND BIT-TEST INSTRUCTIONS Set Bit in I/O Register Clear Bit in I/O Register Logical Shift Left Logical Shift Right Rotate Left Through Carry Rotate Right Through Carry Arithmetic Shift Right Swap Nibbles Flag Set Flag Clear Bit Store from Register to T Bit load from T to Register Set Carry Clear Carry Set Negative Flag Clear Negative Flag Set Zero Flag Clear Zero Flag Global Interrupt Enable Global Interrupt Disable Set Signed Test Flag Clear Signed Test Flag Set Twos Complement Overflow. Clear Twos Complement Overflow Set T in SREG Clear T in SREG Set Half Carry Flag in SREG Clear Half Carry Flag in SREG DATA TRANSFER INSTRUCTIONS Move Between Registers Copy Register Word Load Immediate Load Indirect Load Indirect and Post-Inc. Load Indirect and Pre-Dec. Load Indirect Load Indirect and Post-Inc. Load Indirect and Pre-Dec. Load Indirect with Displacement Load Indirect Load Indirect and Post-Inc. Load Indirect and Pre-Dec. Load Indirect with Displacement Load Direct from SRAM Store Indirect Store Indirect and Post-Inc. Store Indirect and Pre-Dec. Store Indirect Store Indirect and Post-Inc. Store Indirect and Pre-Dec. Store Indirect with Displacement Store Indirect Store Indirect and Post-Inc. Store Indirect and Pre-Dec. Store Indirect with Displacement Store Direct to SRAM Load Program Memory Load Program Memory Load Program Memory and Post-Inc Store Program Memory In Port Out Port Push Register on Stack
15
7710CS-AVR-01/08
Mnemonics
POP NOP SLEEP WDR BREAK
Operands
Rd
Description
Pop Register from Stack
Operation
Rd STACK
Flags
None None
#Clocks
2 1 1 1 N/A
MCU CONTROL INSTRUCTIONS No Operation Sleep Watchdog Reset Break (see specific descr. for Sleep function) (see specific descr. for WDR/timer) For On-chip Debug Only None None None
16
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
7. Ordering Information
Speed (MHz) 16 16 16 16 16 16 Note: Note: Note: Power Supply 2.7 - 5.5V 2.7 - 5.5V 2.7 - 5.5V 2.7 - 5.5V 2.7 - 5.5V 2.7 - 5.5V Ordering Code AT90PWM316-16SE AT90PWM316-16ME AT90PWM216-16SE AT90PWM316-16SU AT90PWM316-16MU AT90PWM216-16SU Package SO32 QFN32 SO24 SO32 QFN32 SO24 Operation Range Engineering Samples Engineering Samples Engineering Samples Extended (-40C to
105C)
Extended (-40C to
105C)
Extended (-40C to
105C)
All packages are Pb free, fully LHF This device can also be supplied in wafer form. Please contact your local Atmel sales office for detailed ordering information and minimum quantities. Parts numbers are for shipping in sticks (SO) or in trays (QFN). These devices can also be supplied in Tape and Reel. Please contact your local Atmel sales office for detailed ordering information and minimum quantities.
8. Package Information
Package Type SO24 SO32 QFN32 24-Lead, Small Outline Package 32-Lead, Small Outline Package 32-Lead, Quad Flat No lead
17
7710CS-AVR-01/08
8.1
SO24
18
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
8.2 SO32
19
7710CS-AVR-01/08
8.3
QFN32
20
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
21
7710CS-AVR-01/08
9. Errata
9.1 Errata AT90PWM216/316 revA
* DAC Driver linearity above 3.6V 1. DAC Driver linearity above 3.6V With 5V Vcc, the DAC driver linearity is poor when DAC output level is above Vcc-1V. At 5V, DAC output for 1023 will be around 5V - 40mV. Work around: Use, when Vcc=5V, Vref below Vcc-1V Or, when Vref=Vcc=5V, do not uses codes above 800.
22
AT90PWM216/316
7710CS-AVR-01/08
AT90PWM216/316
10. Datasheet Revision History for AT90PWM216/316
Please note that the referring page numbers in this section are referred to this document. The referring revision in this section are referring to the document revision.
10.1
Rev. 7710A
1. Document creation.
10.2
Rev. 7710B
1. Updated "Section "In-System Reprogrammable Flash Program Memory", page 18 2. Updated "Figure 6-1 on page 18 3. Updated "Figure 7-1 on page 29 4. Updated "Figure 7-7 on page 34 5. Updated "Table 21-1 on page 241 6. Updated "Section "ADC Noise Canceler", page 243 7. Updated "Table 21-6 on page 252 8. Added "Table 21-7 on page 253 9. Updated "Section "Amplifier", page 254 10. Updated "Figure 21-15 on page 256 11. Added "Figure 21-16 on page 256 12. Updated "Figure 21-17 on page 257 13. Updated "Section "Amplifier 0 Control and Status register - AMP0CSR", page 257 14. Updated "Table 21-9 on page 258 15. Updated "Section "Amplifier 1Control and Status register - AMP1CSR", page 258 16. Updated "Table 21-9 on page 258 17. Updated "Table 21-11 on page 259 18. Updated "Table 24-6 on page 279 19. Updated "Table 24-7 on page 279 20. Updated "Table 24-8 on page 280 21. Updated "Section "DC Characteristics", page 302 22. Updated "Table 26-5 on page 308 23. Updated "Section "Example 1", page 317 24. Updated "Section "Example 2", page 317 25. Updated "Section "Example 3", page 317 26. Added "Figure 27-22 on page 324 27. Updated "Section "Instruction Set Summary", page 14 28. Added "Section "Errata", page 22
10.3
Rev. 7710C
1. Updated table page 2. 2. Updated Section "Internal Calibrated RC Oscillator Operating Modes(1)(2)" on page 33. 3. Updated Section "Features" on page 260. 4. Updated table in Section "Electrical Characteristics(1)" on page 301. 5. Added section Section "Calibrated Internal RC Oscillator Accuracy" on page 304.
23
7710CS-AVR-01/08
6. Updated Table 26-5 on page 308. 7. Updated Figure 27-36 on page 331. 8. Updated Figure 27-37 on page 332. 9. Updated Figure 27-38 on page 332.
24
AT90PWM216/316
7710CS-AVR-01/08
Headquarters
Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600
International
Atmel Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-enYvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581
Product Contact
Web Site www.atmel.com Technical Support Enter Product Line E-mail Sales Contact www.atmel.com/contacts
Literature Requests www.atmel.com/literature
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL'S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL'S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel's products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.
(c) 2008 Atmel Corporation. All rights reserved. Atmel (R), logo and combinations thereof, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others.
7710CS-AVR-01/08


▲Up To Search▲   

 
Price & Availability of AT90PWM316-16ME

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X